Associating wireless control devices

ABSTRACT

A load control system may include one or more wireless control devices that may be associated via a programming device. An identifier for a first wireless control device may be determined in response to an actuation of a button on the first wireless control device. An association between the first wireless control device and a second wireless control device may be defined at the programming device. The identifier for the first wireless control device may be transmitted to the second wireless control device, which may cause the first wireless control device to enter a sleep mode. The first wireless control device may enter the sleep mode after an actuation of a button on the first wireless control device. The identifier may be determined in response to the actuation of the button on the first wireless control device and/or prior to the first wireless control device entering the sleep mode.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.16/842,103, filed Apr. 7, 2020; which is a continuation of U.S. patentapplication Ser. No. 16/443,814, filed Jun. 17, 2019, now U.S. Pat. No.10,638,585 issued on Apr. 28, 2020; which is a continuation of U.S.patent application Ser. No. 16/253,846, filed Jan. 22, 2019, now U.S.Pat. No. 10,368,426, issued on Jul. 30, 2019; which is a continuation ofU.S. patent application Ser. No. 16/119,502, filed Aug. 31, 2018, nowU.S. Pat. No. 10,212,794, issued on Feb. 19, 2019; which is a divisionalof U.S. patent application Ser. No. 15/167,381, filed on May 27, 2016,now U.S. Pat. No. 10,070,504; issued on Sep. 4, 2018, which claims thebenefit of U.S. Provisional Patent Application No. 62/168,296, filed May29, 2015, the entire disclosures of which are hereby incorporated byreference herein as if fully set forth.

BACKGROUND

In order to reduce energy consumption, the use of high-efficiency lightsources (e.g., gas discharge lamps, such as compact fluorescent lamps(CFL), and light-emitting diode (LED) light sources) is increasing,while the use of low-efficiency light sources (e.g., incandescent lampsor halogen lamps) is decreasing. Many consumers are replacing olderscrew-in incandescent lamps with screw-in high-efficiency lamps toprovide a quick path to reducing energy consumption. A screw-inhigh-efficiency lamp includes a light source (e.g., a CFL tube or LEDlight engine) and an integral load regulation circuit (e.g., a ballastcircuit or an LED drive circuit) housed in a base of the high-efficiencylamp. The high-efficiency lamp receives an alternating-current (AC)voltage from an AC power source and the load regulation circuitregulates at least one of a load voltage generated across the lightsource and a load current conducted through the light source. In mostinstallations, the screw-in high-efficiency lamp may be turned on andoff by actuating a light switch coupled between the AC power source andthe high-efficiency lamp. Many screw-in high-efficiency lamps may bedimmed by a dimmer switch that replaces the light switch.

Some screw-in high-efficiency lamps now also include integral wirelessreceivers, e.g., radio-frequency (RF) receivers, for receiving wirelesssignals, e.g., RF signals, from a remote control device, such that thescrew-in high-efficiency may be turned on and off and dimmed in responseto the remote control device. For example, the RF signals may betransmitted using a standard RF communication protocol, such as, thecommunication protocol defined by the Zigbee standard. In order tocontrol a high-efficiency lamp having an RF receiver, most remotecontrol devices must first be associated with the high-efficiency lamp,such that the high-efficiency lamp is responsive to the wireless signalstransmitted by the remote control devices. For example, thehigh-efficiency lamp may store unique identifiers (such as serialnumbers, previous access network identifiers (PANIDs), networkidentifiers, and/or group identifiers) of one or more remote controldevices and may respond to wireless signals including the uniqueidentifiers to which the high-efficiency lamp is associated. An exampleof a prior art association procedure is described in greater detail inU.S. Patent Application Publication No. 2008/0111491, published May 15,2008, entitled RADIO-FREQUENCY LIGHTING CONTROL SYSTEM, and U.S. PatentApplication Publication No. 2014/0265568, published Sep. 18, 2014,entitled COMMISSIONING LOAD CONTROL SYSTEMS, the entire disclosures ofwhich are hereby incorporated by reference.

A remote control operating according to the Zigbee standard may beassociated to a load control device (e.g., a controllable lamp) using anumber of different procedures. For example, according to the ZigbeeLight Link standard, a user may move the remote control close tocontrollable lamp and actuate a button on the remote control in order toassociate the remote control with the controllable lamp.

In addition, a user may associate the remote control with thecontrollable lamp using a network device, such as a hub or a smartphone, according to the Zigbee Home Automation Standard. The smart phonemay communicate with a home automation bridge, for example, using Wi-Fitechnology. The home automation bridge may communicate with the remotecontrol and the controllable lamp according to the Zigbee standard inorder to associate the remote control with the controllable lamp.

FIG. 1 is a flowchart of a prior art association procedure 100 forassociating a remote control with a load control device (such as acontrollable lamp) using a programming device (such as a smart phone)according to the Zigbee standard. The method may begin at 102. At 104, auser may use an application running on the smart phone to cause the homeautomation bridge to enter an association mode. At 106, the user mayactuate a button on the remote control to bring the remote control intothe system (e.g., to associate the remote control with the homeautomation bridge). At 108, after the remote control is brought into thesystem, the remote control may wake up from a sleep mode periodically.For example, after the remote control is brought into the system, theremote control may wake up from a sleep mode on a periodic that is lessthan 8 seconds (e.g., about every 7.5 to 7.68 seconds) to poll the homeautomation bridge for a group number to use to communicate on thesystem. At 110, the user may use the application on the smart phone toidentify the remote control device to be used in the system and create arelationship between the remote controls and a load control device. Thehome automation bridge chooses a group number for the selected remotecontrol devices, at 112, upon receiving the identification of the remotecontrol devices from the user selection on the application and sends thegroup number to the remote control device in response to the nextpolling request from the remote control device after the identificationof the remote control device on the smart phone. The method may end at114.

Since the remote control is typically a battery-powered device, theremote control may be configured to enter a sleep mode in which itsinternal RF transceiver is disabled (and thus cannot receive the RFsignals) in order to reduce the energy consumption of the battery andincrease the lifetime of the battery. Because the remote control deviceneeds to receive the group number from the home automation bridge tocommunicate in the system, the remote control devices need to wake upperiodically to determine if an RF signal is being transmitted by acontrol device in the system (e.g., the home automation bridge). Forexample, the remote control may wake up on a periodic that is less than8 seconds (e.g., about every 7.5 to 7.68 seconds) to see if an RF signalis being transmitted. However, waking up at that rate may not provide anacceptable lifetime for the battery. For example, the life of thebattery may be less than one year if the remote control wakes up on aperiodic that is less than 8 seconds (e.g., about every 7.5 to 7.68seconds) to poll for a group number. As the home automation bridge iswaiting for the application on the smart phone to identify the remotecontrol device before generating a group number for the remote controldevice, the remote control device has to continue to poll for the groupnumber for periods of time that decrease the battery life of the remotecontrol device. Additionally, when there are multiple remote controldevices polling for the group number at such a frequent interval, thepolling requests may cause interference with one another or other RFcommunications on the network, which may cause delays in networkcommunications, responses to polling requests, and other networkinefficiencies. Thus, there exists a need for a battery power efficientand network communication efficient method of using a programming deviceto associate a remote control with a load control device thatcommunicates according to the Zigbee protocol.

SUMMARY

A load control system may be used to control the amount of powerdelivered to an electrical load, such as a lighting load. The loadcontrol system may include wireless control devices, such ascontrol-source devices and control-target devices. The wireless controldevices may be associated to enable identification of, and control basedon, the digital messages. A control-source device may indirectly controlthe amount of power provided to an electrical load by transmittingdigital messages to a control-target device. A control-target device maydirectly control the amount of power provided to the electrical loadbased on the digital messages received from a control-source device. Forexample, a control-source device, such as a battery-powered remotecontrol device, may be used to send digital messages to a control-targetdevice, such as a controllable light source, to control a lighting load.

The load control system may comprise a gateway device configured toenable communication with a network. The gateway device may beconfigured to communicate with a remote control device and/or acontrollable light source, via RF signals. The gateway device may beconfigured to receive digital messages via the RF signals from theremote control device and/or the controllable light source. The gatewaydevice may relay digital messages between the control devices of theload control system and/or the control devices and the network.

The load control system may comprise a programming device, such as anetwork device. The network device may be a smart phone (e.g., aniPhone® smart phone, an Android® smart phone, or a Blackberry® smartphone), a personal computer, a laptop, a wireless-capable media device(e.g., MP3 player, gaming device, or television), a tablet device (e.g.,an iPad® hand-held computing device), a Wi-Fi orwireless-communication-capable television, or any otherInternet-Protocol-enabled device. The remote control device may beassociated with the load control device using the network device.

The gateway device may enter an association mode. For example, a usermay use the network device to send a digital message to cause thegateway device to enter an association mode. The remote control devicemay be identified in the load control system, for example, by the useractuating a button on the remote control device to send a digitalmessage from the remote control device to the gateway device. Thedigital message may be an association message, for example, thatincludes association information that may identify the remote controldevice to associate the remote control device with the gateway device.The gateway device may be associated with the remote control device bystoring the association information of the remote control device.

The controllable light source may be identified in the load controlsystem. For example, the controllable light source may be associatedwith the gateway device while the gateway device is in the associationmode. The user may turn on the controllable light source, or press abutton on the controllable light source, to send a digital message fromthe controllable light source to the gateway device. The digital messagemay be an association message, for example, that includes theassociation information to associate the controllable light source withthe gateway device. The gateway device may define an association betweenthe remote control device and the controllable light source afterreceiving the association information for each control device.

A group number, or other identifier of the remote control device, may bechosen for the remote control device. For example, a group number may bechosen for the remote control device in response to the actuation of thebutton on the remote control device to bring the remote control deviceinto the load control system. The group number may be a random numbergenerated as a network identifier and/or a group identifier of a groupfor one or more wireless control devices. The group number may be anidentifier that corresponds to one or more control-source devices (e.g.,a remote control device), and/or the group number may be an identifierthat is associated with one or more control-target devices (e.g. acontrollable light source). The group number may be an identifier thatcorresponds to multiple remote control devices that may similarlycontrol the one or more control-target devices associated with the groupnumber. The group number may be configured such that control-targetdevices, such as the controllable light source, may respond to digitalmessages that include the group number with which the control-targetdevices are associated

The remote control device may request the group number. For example, theremote control device may request the group number from the gatewaydevice. The remote control device may refrain from entering a sleep modeduring the request from the remote control device for the group number.The remote control device may attempt to retrieve the group number basedupon a predetermined period (e.g., on a period that is less than 8seconds, such as about every 7.5 to 7.68 seconds) defined by the periodfor the sleep mode. The remote control device may determine a groupnumber, and/or the remote control device may transmit a query message tothe gateway device to determine if the group number is in use.

The remote control device may store the selected group number in memory.Upon the remote control device storing the selected group number, theremote control device may enter into a sleep mode. The sleep mode may bean initial sleep mode entered by the remote control device, and/or thesleep mode may be an extended sleep mode. Because the remote control maywake up at a less frequent rate during an extended sleep mode, the lifeexpectancy of the battery of the remote control device may be extended.For example, the life of the battery of the remote control device may beapproximately 7.5 years if the remote control device only wakes up onceper hour.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart of a prior art association procedure forassociating a remote control with a load control device.

FIG. 2 is a diagram of an example load control system.

FIGS. 3-5 show flowcharts of example association procedures forassociating wireless control devices using a programming device.

FIG. 6 is a block diagram of an example programming device.

FIG. 7 is a block diagram of an example gateway device.

FIG. 8 is a block diagram of an example control-target device.

FIG. 9 is a block diagram of an example control-source device.

DETAILED DESCRIPTION

A load control system may control the amount of power delivered to anelectrical load, such as a lighting load. The load control system mayinclude wireless control devices, such as control-source devices andcontrol-target devices. The wireless control devices may be associatedto enable identification of, and control based on, the digital messages.A control-source device may indirectly control the amount of powerprovided to an electrical load by transmitting digital messages to acontrol-target device. A control-target device may directly control theamount of power provided to the electrical load based on the digitalmessages received from a control-source device. The digital messages mayinclude control instructions (e.g., load control instructions) oranother indication (e.g., measurement) that causes the load controldevice to determine load control instructions for controlling anelectrical load. For example, a control-source device, such as abattery-powered remote control device, may be used to send digitalmessages to a control-target device, such as a controllable lightsource, to control a lighting load.

FIG. 2 is a diagram of an example load control system 200 having acontrol-source device and a control-target device. For example, thecontrol-source device may be a battery-powered remote control device 210and the control-target device may be a controllable light source 220.The controllable light source 220 may be installed in, for example, atable lamp 222, and may receive power from an alternating-current (AC)power source 202. For example the table lamp 222 may be plugged into anoutlet via a plug-in AC power supply 224. In some installations, astandard, single pole single throw (SPST) maintained mechanical switch204, such as a toggle switch or a light switch, may be coupled in serieselectrical connection between the AC power source 202 and thecontrollable light source 220. The switch 204 may be for disconnectingthe controllable light source 220 from the AC power source 202 and thusturning off the controllable light source 220. The remote control device210 may be configured to transmit digital message to the controllablelight source 220 via wireless signals, e.g., radio-frequency (RF)signals 206. For example, the remote control device 210 may beconfigured to transmit digital message to the controllable light source220 according to the Zigbee standard protocol. The remote control device210 may be configured to transmit digital message to the controllablelight source 220 according to the Zigbee standard protocol via wirelesssignals, e.g., radio-frequency (RF) signals 208.

The controllable light source 220 may comprise an integral lighting load(such as an incandescent lamp, a halogen lamp, a compact fluorescentlamp, a light-emitting diode (LED) light engine, or other suitable lightsource) and an integral load control circuit (such as a dimmer circuit,a ballast circuit, or a LED driver circuit) for controlling theintensity of the lighting load. The controllable light source 220 may beconfigured to turn the internal lighting load on and off and/or adjustthe intensity of the lighting load in response to the RF signals 206received from the remote control device 210. Examples of screw-inluminaires are described in greater detail in commonly-assigned U.S.Pat. No. 8,008,866, issued Aug. 30, 2011, entitled HYBRID LIGHT SOURCE;U.S. Patent Application Publication No. 2012/0286689, published Nov. 15,2012, entitled DIMMABLE SCREW-IN COMPACT FLUORESCENT LAMP HAVINGINTEGRAL ELECTRONIC BALLAST CIRCUIT; and U.S. patent application Ser.No. 13/829,834, filed Mar. 14, 2013, entitled CONTROLLABLE LIGHT SOURCE,the entire disclosures of which are hereby incorporated by reference.

The remote control device 210 may comprise a plurality of actuators,such as buttons 212-218. The actuators may include an on button 212, anoff button 214, a raise button 216, and/or a lower button 218, as shownin FIG. 2. The remote control device 210 may be a handheld remotecontrol. Alternatively, or additionally, the remote control device 210may be mounted vertically to a wall or supported on a pedestal to bemounted on a tabletop. The remote control device 210 may comprise amicroprocessor and an RF transceiver for transmitting and/or receivingthe RF signals 206. The remote control device 210 may also comprise abattery (e.g., a CR2032 battery) for powering the microprocessor, the RFtransceiver, and/or other circuitry of the remote control device.Examples of battery-powered remote control devices are described ingreater detail in commonly-assigned U.S. Pat. No. 8,330,638, issued Dec.11, 2012, entitled WIRELESS BATTERY-POWERED REMOTE CONTROL HAVINGMULTIPLE MOUNTING MEANS, and U.S. Pat. No. 7,573,208, issued Aug. 11,2009, entitled METHOD OF PROGRAMMING A LIGHTING PRESET FROM ARADIO-FREQUENCY REMOTE CONTROL, the entire disclosures of which arehereby incorporated by reference.

The remote control device 210 (e.g., the control-source device) maytransmit the RF signals 206 to the controllable light source 220 (e.g.,the control-target device) for controlling the intensity of the lightingload in response to actuations of the buttons 212-218. Digital messagestransmitted by the remote control device 210 may include a commandand/or association information. For example, digital messagestransmitted by the remote control device 210 may include a uniqueidentifier associated with the remote control device. As used herein, acontrol-source device may be a control device operable to transmit adigital message to a control-target device, and a control-target devicemay be a control device operable to receive a digital message from acontrol-source device. The remote control device 210 may transmit anassociation message in response to actuation of one or more of thebuttons 212-218. The actuation of the same one or more of the buttons212-218 may cause the remote control device 210 to transmit a controlmessage (e.g., after association has been performed, after an actuationof the one or more buttons 212-218 for a different period of time,etc.). A single control device may be configured to operate as acontrol-source device and a control-target device. Examples ofcontrol-source and control-target devices are described in greaterdetail in commonly-assigned U.S. Patent Application Publication No.2014/0265568, published Sep. 18, 2014, entitled COMMISSIONING LOADCONTROL SYSTEMS, the entire disclosure of which is hereby incorporatedby reference.

The load control system 200 may comprise other types of control-sourcedevices, such as a remote occupancy or vacancy sensor 262 for detectingoccupancy and/or vacancy conditions in the space in which the loadcontrol system is installed. The occupancy or vacancy sensors 262 maytransmit digital messages to the controllable light source 220 via theRF signals 206 in response to detecting the occupancy or vacancyconditions. An occupancy sensor may transmit occupancy conditions and/orvacancy conditions. A vacancy sensor may transmit vacancy conditions.Examples of RF load control systems having occupancy and vacancy sensorsare described in greater detail in commonly-assigned U.S. Pat. No.8,009,042, issued Aug. 30, 2011, entitled RADIO-FREQUENCY LIGHTINGCONTROL SYSTEM WITH OCCUPANCY SENSING; U.S. Pat. No. 8,199,010, issuedJun. 12, 2012, entitled METHOD AND APPARATUS FOR CONFIGURING A WIRELESSSENSOR; and U.S. Pat. No. 8,228,184, issued Jul. 24, 2012, entitledBATTERY-POWERED OCCUPANCY SENSOR, the entire disclosures of which arehereby incorporated by reference.

The control-source devices of the load control system 200 may comprise aremote daylight sensor 264 for measuring a total light intensity in thespace in which the load control system is installed. The daylight sensor264 may transmit digital messages including the measured light intensityto the controllable light source 220 via the RF signals 206, such thatthe controllable light source 220 may be operable to control theintensity of the lighting load in response to the measured lightintensity. Examples of RF load control systems having daylight sensorsare described in greater detail in commonly-assigned U.S. Pat. No.8,410,706, issued Apr. 2, 2013, entitled METHOD OF CALIBRATING ADAYLIGHT SENSOR; and U.S. Pat. No. 8,451,116, issued May 28, 2013,entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entiredisclosures of which are hereby incorporated by reference.

The load control system 200 may comprise a gateway device 230 (e.g., abridge) configured to enable communication with a network 232, e.g., awireless and/or wired local area network (LAN). The gateway device 230may be connected to a router 248 via a wired digital communication link234. The digital communication link 234 may be an Ethernet communicationlink, for example. The router 248 may allow for communication with thenetwork 232, e.g., for access to the Internet. The gateway device 230may be wirelessly connected to the network 232, e.g., using Wi-Fitechnology, cellular technology, and/or other wireless communicationtechnology.

The gateway device 230 may be configured to communicate with the remotecontrol device 210 and/or the controllable light source 220 via the RFsignals 206 (e.g., according to the Zigbee standard protocol). Forexample, the gateway device 230 may be configured to transmit a digitalmessage to the controllable light source 220 via the RF signals 206 forcontrolling the controllable light source 220 in response to a digitalmessage received from external devices via the network 232. For example,the external devices may include the remote control device 210, theoccupancy sensor 262, the daylight sensor 264, devices from whichdigital messages are received via the network 232, and/or other devicesexternal to the gateway device 230 from which digital messages may bereceived. The gateway device 230 may be configured to receive digitalmessages via the RF signals 206 from the remote control device 210and/or the controllable light source 220. The gateway device 230 may beconfigured to transmit digital messages via the network 232 forproviding data (e.g., status information) to external devices. Thegateway device 230 may operate as a central controller for the loadcontrol system 200. The gateway device 230 may relay digital messagesbetween the control devices of the load control system and/or thecontrol devices and the network 232.

The load control system 200 may comprise a network device 240, such as asmart phone (e.g., an iPhone® smart phone, an Android® smart phone, or aBlackberry® smart phone), a personal computer, a laptop, awireless-capable media device (e.g., MP3 player, gaming device, ortelevision), a tablet device (e.g., an iPad® hand-held computingdevice), a Wi-Fi or wireless-communication-capable television, or anyother Internet-Protocol-enabled device. The network device 240 may beoperable to transmit digital messages in one or more Internet Protocolpackets to the gateway device 230 via RF signals 208 either directly orvia the network 232. For example, the network device 240 may transmitthe RF signals 208 to the gateway device 230 and/or the network 232 viaa Wi-Fi communication link, a Wi-MAX communications link, a Bluetooth®communications link, a near field communication (NFC) link, a cellularcommunications link, a television white space (TVWS) communication link,or any combination thereof. The RF signals 208 may be transmitted usinga different protocol and/or wireless band than the RF signals 206. Forexample, the RF signals 208 may be transmitted using WI-FI® or cellularsignals and the RF signals 206 may be transmitted using another RFcommunication protocol, such as BLUETOOTH®, Zigbee, or a proprietarycommunication protocol. The RF communication signals 208 may betransmitted using the same protocol and/or wireless band than the RFcommunication signals 206. Examples of load control systems operable tocommunicate with network devices on a network are described in greaterdetail in commonly-assigned U.S. Patent Application Publication No.2013/0030589, published Jan. 31, 2013, entitled LOAD CONTROL DEVICEHAVING INTERNET CONNECTIVITY, the entire disclosure of which is herebyincorporated by reference.

The network device 240 may have a visual display 242, which may comprisea touch screen having, for example, a capacitive touch pad displacedovertop the visual display. The network device 240 may comprise one ormore buttons 246. For example, the visual display may display softbuttons that may be actuated by a user. In addition, or alternatively,the network device 240 may comprise a plurality of hard buttons, e.g.,physical buttons, in addition to the visual display 242. The networkdevice 240 may download a product control application for allowing auser of the network device 240 to setup and control the lighting controlsystem 200. In response to actuations of the displayed soft buttonsand/or hard buttons, the network device 240 may transmit digitalmessages to the gateway device 230 through the wireless communicationsdescribed herein. The network device 240 may transmit digital messagesto the gateway device 230 via the RF signals 208 for controlling thecontrollable light source 220. The gateway device 230 may be configuredto transmit digital messages in the RF signals 208 to the network device240 in response to digital messages received from the remote controldevice 210 and/or the controllable light source 220 for displaying data(e.g., status information) on the visual display 242 of the networkdevice 240.

The load control system 200 may be programmed and/or configured usingthe network device 240. During the configuration procedure of the loadcontrol system 200, control-target devices may be associated withcontrol-source devices. For example, the controllable light source 220may be associated with the remote control device 210, such that thecontrollable light source 220 may then be responsive to digital messagestransmitted by the remote control device 210. An example of aconfiguration procedure of a load control system is described in greaterdetail in previously-referenced U.S. Patent Application Publication No.2014/0265568.

FIG. 3 is a flowchart of an example association procedure 300 forassociating wireless control devices. For example, referring to FIG. 3,the example association procedure 300 may be used to associate theremote control device 210 with a load control device, such as thecontrollable light source 220, using a programming device, such as thenetwork device 240. The association procedure 300 may begin at 302. At304, the gateway device 230 may enter an association mode. For example,at 304, a user may use the product control application running on thenetwork device 240 to send a digital message to cause the gateway device230 to enter an association mode by actuating a button on the networkdevice 240. At 306, the remote control device 210 may be identified inthe load control system. The remote control device 210 may storeassociation information. For example, the remote control device 210 maystore association information so that the remote control device 210 cansend digital messages to, and/or receive digital messages from, thenetwork device 240 and/or the gateway device 230. The associationinformation may include a unique identifier and/or a device type for thenetwork device 240 and/or the gateway device 230. The user may actuate abutton on the remote control device 210 to send a digital message fromthe remote control device 210 to the gateway device 230. The digitalmessage may be sent from the remote control device 210 and may includeassociation information that identifies the remote control device 210.The association information may include a unique identifier, such as aserial number or other identifier, and/or a device type identifier thatindicates the device as a remote control device. The digital message maybe an association message, for example, that includes the associationinformation (e.g., a serial number, device type, etc.) that uniquelyidentifies the remote control device to associate the remote controldevice 210 with the gateway device 230. The gateway device 230 may beassociated with the remote control device 210 by storing the associationinformation of the remote control device 210 (e.g., in a dataset), suchthat the gateway device 230 may identify and interpret digital messagesfrom the remote control device 210 for performing programming and/orcontrol in the load control system 200.

At 308, a group number, or other identifier of the remote control device210, may be chosen for the remote control device 210. For example, inresponse to the actuation of the button on the remote control device 210to bring the remote control device 210 into the load control system 200,at 306, a group number may be chosen (e.g., automatically chosen) forthe remote control device 210, at 308. The group number may be a randomnumber generated as a network identifier and/or a group identifier of agroup for one or more wireless control devices. The group number may bean identifier that corresponds to a single control-source device, suchas the remote control device 210, and may be associated with one or morecontrol-target devices, such as one or more controllable light sources.The group number may be an identifier that corresponds to multipleremote control devices that may similarly control the one or morecontrol-target devices associated with the group number. The groupnumber may be configured such that control-target devices, such as thecontrollable light source 220, may respond to digital messages (e.g.,comprising load control instructions) including the group number withwhich the control-target devices are associated.

The remote control device 210 may request the group number. For example,the remote control device 210 may request the group number from thegateway device 230. The remote control device 210 may refrain fromentering a sleep mode during the request from the remote control device210 request for the group number. The remote control device 210 mayattempt to retrieve the group number based upon a predetermined period(e.g., on a period that is less than 8 seconds, such as about every 7.5to 7.68 seconds) defined by the period for the sleep mode. The remotecontrol device 210 may determine (e.g., randomly select) a group numberand the remote control device 210 may transmit a query message to thegateway device 230 to determine if the randomly-selected group number isin use. If the randomly-selected group number is in use, the remotecontrol device 210 may determine another group number (e.g., randomgroup number) and may repeat the process until an unused group number isdetermined. The remote control device 210 may store the selected groupnumber (e.g., the selected group number that is unused) in memory, at310.

Upon the remote control device 210 storing the selected group number,the remote control device 210 may enter into a sleep mode, at 312. Thesleep mode, at 314, may be the initial sleep mode entered by the remotecontrol device 210 during the association procedure 300. The remotecontrol device 210 may enter into an extended (e.g., one hour,twenty-four hours, etc.) sleep mode at 314.

The extended sleep mode may be longer than the polling sleep mode forwhich the remote control device 210 may be programmed to awaken to pollfor a group number (e.g., according to the Zigbee standard). The remotecontrol device 210 may be configured to remain in a sleep mode unless auser actuates a button on the remote control device 210. The gatewaydevice 230 may store the selected group number for the remote controldevice 210 in memory, at 310. The gateway device 230 may be configuredto transmit the selected group number to the network device 240, whichmay store the unique identifier in memory, at 310.

In response to the actuation of the button on the remote control device210 to bring the remote control device 210 into the load control system200, at 306, the gateway device 230 may choose an unused group numberand may transmit the selected group number to the remote control device210, at 308. The remote control device 210 may store the received groupnumber in memory, at 310. Upon the remote control device 210 storing theselected group number, the remote control device 210 may enter into asleep mode, at 312. The remote control device 210 may enter into anextended (e.g., one hour, twenty-four hours, etc.) sleep mode. Theremote control device 210 may be configured to remain in a sleep modeuntil a user actuates a button on the remote control device 210 (e.g., auser actuation to transmit control instructions for controlling anelectrical load or otherwise configure the load control system). Inresponse to the actuation of the button on the remote control device 210to bring the remote control device 210 into the load control system 200,at 306, the remote control device 210 may transmit a request for a groupnumber to the gateway device 230, at 308, which may be stored at 310.

At 314, the controllable light source 220 may be identified in the loadcontrol system. For example, the controllable light source 220 may beassociated with the gateway device 230 at 314 while the gateway device230 is in the association mode. The controllable light source 220 may beassociated with the gateway device 230 at 314, if the gateway device 230enters the association mode within a predetermined amount of time withinthe controllable light source 220 entering the association mode. Thecontrollable light source 220 may store information (e.g., associationinformation, network information, etc.) so the controllable light source220 can send digital messages to, and/or receive digital messages from,the network. For example, the user may turn on the controllable lightsource 220, or press a button on the controllable light source 220 or abutton on the load control device thereof, to send a digital messagefrom the controllable light source 220 to the gateway device 230. Thedigital message may include identification information that identifiesthe controllable light source 220. The identification information mayinclude a unique identifier, such as a serial number or otheridentifier, and/or a device type identifier that indicates the device asa controllable light source. The digital message may be an associationmessage, for example, that includes the identification information toassociate the controllable light source 220 with the gateway device 230.The gateway device 230 may be associated with the controllable lightsource 220 by storing the identification information of the controllablelight source 220, such that the gateway device 230 may identify andinterpret digital messages from the remote control device 220 forperforming programming and/or control in the load control system 200.Multiple remote control devices, or other control-source devices, andcontrollable light sources, or other control-target devices, may beassociated with the gateway device 230 as described herein. The gatewaydevice 230 may define an association between the remote control device210 and the controllable light source 220 after receiving theassociation information for each control device. For example, thegateway device 230 may store the association information for each devicein a dataset within which the association for each device corresponds toone another.

In response to the actuation of the button on the remote control device210 to bring the remote control device 210 into the load control system200, at 306, the remote control device 210 may wait for a predeterminedamount of time (e.g., may wait for a time that is less than 8 seconds,such as about every 7.5 to 7.68 seconds) for the gateway device 230 tochoose an unused group number and transmit the selected group number tothe remote control device 210. If the remote control device 210 does notreceive the group number from the gateway device 230 within thepredetermined amount of time, the remote control device 210 may select(e.g., randomly select) a group number and may transmit a query messageto the gateway device 230. The query message may be used to determine ifthe randomly-selected group number is already in use. The remote controldevice 210 may continue to submit query messages until an unused groupnumber is determined, as described herein.

After the group number is selected, at 308, and stored, at 310, thegateway device 230 may be capable of associating the remote controldevice 210 with the controllable light source 220 at a point in time inthe future without the need to communicate with the remote controldevice 210. The remote control device 210 may enter into a sleep mode,at 312. For example, the remote control device 210 may enter into anextended sleep mode (e.g., one hour, twenty-four hours, etc.). The usermay use the product control application running on the network device240 to associate the remote control device 210 with the controllablelight source 220.

The remote control device 210 may be associated with the controllablelight source 220 by storing association information on the remotecontrol device 210 and the controllable light source 220. For example,the user may actuate a button on the remote control device 210 to send adigital message from the remote control device 210 to the controllablelight source 220. The remote control device 210 may send the digitalmessage directly to the controllable light source 220, and/or the remotecontrol device 210 may send the digital message to the controllablelight source via the gateway device 230. The digital message may includeidentification information that identifies the remote control device 210and/or the controllable light source 220. The identification informationmay include a unique identifier, such as a serial number or otheridentifier, and/or a device type identifier that indicates the device asa remote control device and/or a controllable light source. The digitalmessage may be an association message, for example, that includes theidentification information to associate the remote control device 210with the controllable light source 220. The controllable light source220 may be associated with the remote control device 210 by storing theidentification information of the remote control device 210, such thatthe controllable light source 220 may identify and interpret digitalmessages from the remote control device 210 for performing programmingand/or control in the load control system 200.

The network device 240 may transmit association information to thegateway device 230 (e.g., after selection by a user on the networkdevice 240). The association information may include the identificationinformation being sent in an association message. At 316, the gatewaydevice 230 may look up the group number of the remote control device 210corresponding to the received association information. The gatewaydevice 230 may transmit the group number of the remote control device210 (as chosen and selected at 310 and 312) to the controllable lightsource 220, which may store the received group number in memory. Thecontrollable light source 220 may be responsive to received RF signalsthat include the stored group number (e.g., as transmitted by the remotecontrol device 210). The association procedure 300 may end at 318.

Because the remote control device 210 may store the group number (at 312of the association procedure 300) before the association between theremote control device 210 and the controllable light source 220 iscompleted using the network device 240, the remote control device 210may be configured to enter an extended sleep mode for an extended periodof time (e.g., one hour, twenty-four hours). The extended sleep mode maybe longer than the polling sleep mode for which the remote controldevice 210 may be programmed to awaken to poll for a group number (e.g.,according to the Zigbee standard). The extended sleep mode may be endedafter actuation of a button on the remote control device 210. Forexample, the remote control device 210 may be awakened to receivedigital messages via the RF signals 206 in response to an actuation ofone of the buttons 212-218 of the remote control.

The implementation of the association procedure 300 may cause the remotecontrol device 210 to wake up periodically at a less frequent rate thanthe remote control device 210 would wake up during the polling sleepmode. For example, the remote control device 210 may enter an extendedsleep mode, which may cause the remote control device 210 to wake uponce every hour. The life expectancy of the battery of the remotecontrol device 210 may be extended if it wakes up at a less frequentrate. For example, the life of the battery of the remote control device210 may be approximately 7.5 years if the remote control device onlywakes up once per hour.

FIG. 4 is a flowchart of another example association procedure 400 forassociating wireless control devices, such as the remote control device210 with a load control device, such as the controllable light source220, using a programming device (e.g., the network device 240). Theassociation procedure 400 may begin at 402. At 404, the gateway device230 may enter an association mode. For example, the user may use theproduct control application running on the network device 240 to send adigital message to cause the gateway device 230 to enter an associationmode. The user may actuate a button on the remote control device 210 tobring the remote control device 210 into the system, at 406 (e.g., toassociate the remote control device with the gateway device 230). One ormore controllable light sources, such as the controllable light source220, may have already been entered into the system, or may be similarlyentered into the system as described herein.

At 408, the remote control device 210 may be associated with thecontrollable light source 220. For example, the user may use the productcontrol application running on the network device 240 to associate theremote control device 210 with the controllable light source 220. Thenetwork device 240 may receive digital messages from the gateway device,or directly from the control devices, that include the associationinformation (e.g., unique identifiers, device type, etc.) for thecontrol devices. For example, the digital messages may include theassociation information for the remote control device 210, thecontrollable light source 220, other remote control devices, and/orother controllable light sources. The association information (e.g.,unique identifiers, device type, etc.) for the control devices may bedisplayed on a user interface of the product control application. Theuser may define the association between the remote control device 210and the controllable light source 220 by choosing the controllable lightsource 220 and the remote control device 210 on a user interface forbeing associated at 408. In another example, the user may define theassociation between the remote control device 210 and the controllablelight source 220 by choosing the controllable light source 220 on a userinterface of the product control application for being associated withthe remote control device 210, which may be predefined. The networkdevice 240 may store the defined association between the remote controldevice 210 and the controllable light source 220 as a dataset in memory,which may include a direct correspondence between the associationinformation of the remote control device 210 and the controllable lightsource 220. Though a single remote control device 210 and a singlecontrollable light source 220 are defined in the associationinformation, additional remote control devices and/or controllable lightsources may be defined as being associated using the product controlapplication running on the network device 240.

The network device 240 may transmit the association informationincluding the defined association between the remote control device 210and the controllable light source 220 to the gateway device 230 inresponse to a user actuation on the product control application. Thegateway device 230 may choose an unused group number for the remotecontrol device 210, at 410, and may transmit the group number of theremote control device 210 to the controllable light source 220, at 412.The gateway device 230 may choose the unused group number for the remotecontrol device, at 410, in response to receipt of the associationinformation including the defined association between the remote controldevice 210 and the controllable light source 220.

At 414, the user may actuate a button on the remote control device 210to identify the remote control device associated with the controllablelight source 220. For example, the product control application maydisplay a message on the visual display 242 of the network device 240prompting the user to actuate the button on the remote control device210 to identify the remote control device 210, at 414. In response tothe actuation of the button on the remote control device 210, at 414,the gateway device 230 may transmit the selected group number to theidentified remote control device 210, at 416. The remote control devicemay store the received group number in memory, at 418.

Upon the remote control device 210 storing the selected group number,the remote control device 210 may enter into a sleep mode, at 420. Thesleep mode, at 420, may be the initial sleep mode entered by the remotecontrol device 210 during the association procedure 400. The remotecontrol device 210 may enter into an extended sleep mode (e.g., onehour, twenty-four hours, etc.) at 420, for example. The remote controldevice 210 may be configured to remain in a sleep mode until a useractuates a button on the remote control device 210 (e.g., a useractuation to transmit control instructions for controlling an electricalload or otherwise configure the load control system). The associationprocedure 400 may end at 422.

Because the group number may be transmitted to the remote control device210 in response to an actuation of the button on the remote controldevice, the remote control device may remain in the sleep mode forlonger periods of time than the polling sleep mode. Accordingly, whenusing the association procedure 400 shown in FIG. 4, the remote controldevice 210 may be configured to be in the sleep mode for longer periodsof time than other remote control devices that implement the pollingsleep mode to poll for the group number.

FIG. 5 is a simplified flowchart of another example associationprocedure 500 for associating wireless control devices (e.g., the remotecontrol device 210 and a load control device, such as the controllablelight source 220) using a programming device (e.g., the network device240). The association procedure 500 may begin at 502. At 504, thegateway device 230 may enter an association mode. For example, user mayuse the product control application running on the network device 240 tosend a digital message to cause the gateway device 230 to enter anassociation mode. A button on the remote control device 210 may beactuated to bring the remote control device 210 into the system at 506(e.g., to associate the remote control device with the gateway device230). One or more controllable light sources, such as the controllablelight source 220, may have already been entered into the system, or maybe similarly entered into the system as described herein.

At 508, the remote control device 210 may be associated with thecontrollable light source 220. For example, the user may use the productcontrol application running on the network device 240 to associate theremote control device 210 with the controllable light source 220. Thenetwork device 240 may receive digital messages from the gateway device,or directly from the control devices, that include the associationinformation (e.g., unique identifiers, device type, etc.) for thecontrol devices. For example, the digital messages may include theassociation information for the remote control device 210, thecontrollable light source 220, other remote control devices, and/orother controllable light sources. The association information (e.g.,unique identifiers, device type, etc.) for the control devices may bedisplayed on a user interface of the product control application. Thenetwork device 240 may define the association between the remote controldevice 210 and the controllable light source 220 by receiving userselections of the controllable light source 220 and the remote controldevice 210 on a user interface for being associated at 408. In anotherexample, the network device 240 may define the association between theremote control device 210 and the controllable light source 220 byreceiving user selections of the controllable light source 220 on a userinterface of the product control application for being associated withthe remote control device 210, which may be predefined. The networkdevice 240 may store the defined association between the remote controldevice 210 and the controllable light source 220 as a dataset in memory,which may include a direct correspondence between the associationinformation of the remote control device 210 and the controllable lightsource 220. Though a single remote control device 210 and a singlecontrollable light source 220 are defined in the associationinformation, additional remote control devices and/or controllable lightsources may be defined as being associated using the product controlapplication running on the network device 240.

The network device 240 may transmit the association informationincluding the defined association between the remote control device 210and the controllable light source 220 to the gateway device 230 inresponse to a user actuation on the product control application. Thegateway device 230 may choose an unused group number for the remotecontrol device 210, at 510. The unused group number may be chosen inresponse to the association information defining the association betweenthe remote control device 210 and the controllable light source 220. Thegateway device 230 may transmit the group number of the remote controldevice 210 to the controllable light source 220, at 512.

The association procedure 500 may halt until the user actuates a buttonon the remote control device 210, at 514. For example, the user mayactuate the button on the remote control device 210 to control thecontrollable light source 220 during a lighting control operation of theload control system 200. The lighting control operation may beimplemented by sending lighting control instructions from the remotecontrol device 210 to the controllable light source 220. The lightingcontrol instructions may include a command for turning on thecontrollable light source 220, turning off the controllable light source220, increasing the dimming level of the controllable light source 220,decreasing the dimming level of the controllable light source 220,and/or setting the controllable light source 220 to a preset dimminglevel. The digital message including the lighting control instructionsmay include the unique identifier of the remote control device 210. Inresponse to the actuation of the button on the remote control device210, at 514, the gateway device 230 may transmit the selected groupnumber to the remote control device, at 516. The gateway device 230 maytransmit a digital message to the controllable light source 220 forcontrolling the controllable light source, at 516, according to thelighting control instructions. The remote control device may store thereceived group number in memory at 518.

Upon the remote control device 210 storing the selected group number,the remote control device 210 may enter into a sleep mode, at 520. Thesleep mode, at 520, may be the initial sleep mode entered by the remotecontrol device 210 during the association procedure 500. The remotecontrol device 210 may enter into an extended sleep mode (e.g., onehour, twenty-four hours, etc.) at 520. The remote control device 210 maybe configured to remain in a sleep mode until a user actuates a buttonon the remote control device 210. The association procedure 500 may endat 522. The remote control device 210 may be configured to transmitdigital messages to which the controllable light source 220 isresponsive (e.g., RF signals that include that group number).

Since the group number is transmitted to the remote control device 210in response to an actuation of the button on the remote control device210 to control the controllable light source 220, the remote controldevice 210 may remain in the sleep mode until the button is pressedduring a lighting control operation. Accordingly, when using theassociation procedure 500 shown in FIG. 5, the remote control device 210may be configured to be in the sleep mode for longer periods of timethan a remote control device that implements the polling sleep mode.

FIG. 6 is a block diagram illustrating an example programming device 600as described herein. The programming device 600 may be a network device(such as network device 240, for example). The programming device 600may include a control circuit 602 for controlling the functionality ofthe programming device 600. The control circuit 602 may include one ormore general purpose processors, special purpose processors,conventional processors, digital signal processors (DSPs),microprocessors, integrated circuits, a programmable logic device (PLD),application specific integrated circuits (ASICs), and/or the like. Thecontrol circuit 602 may perform signal coding, data processing, displayprocessing, power control, input/output processing, and/or any otherfunctionality that enables the programming device 600 to perform asdescribed herein. The control circuit 602 may store information inand/or retrieve information from the memory 604. The memory 604 mayinclude a non-removable memory and/or a removable memory. Thenon-removable memory may include random-access memory (RAM), read-onlymemory (ROM), a hard disk, and/or any other type of non-removable memorystorage. The removable memory may include a subscriber identity module(SIM) card, a memory stick, a memory card, and/or any other type ofremovable memory.

The programming device 600 may include a communications circuit 608 fortransmitting and/or receiving information. The communications circuit608 may perform wireless and/or wired communications. The communicationscircuit 608 may include an RF transceiver or other circuit capable ofperforming wireless communications. Communications circuit 608 may be incommunication with control circuit 602 for transmitting and/or receivinginformation.

The control circuit 602 may be in communication with a display 606 forproviding information to a user. The processor 602 and/or the display606 may generate GUIs for being displayed on the programming device 600.The display 606 and the control circuit 602 may be in two-waycommunication, as the display 606 may include a touch screen modulecapable of receiving information (e.g., in response to actuations) froma user and providing such information to the control circuit 602. Theprogramming device may include an actuator 612 (e.g., one or morebuttons) that may be actuated by a user to communicate user selectionsto the control circuit 602.

Each of the modules within the programming device 600 may be powered bya power source 610. The power source 610 may include an AC power supplyor a DC power supply, for example. The power source 610 may generate asupply voltage V_(CC) for powering the modules within the programmingdevice 600.

FIG. 7 is a block diagram illustrating an example gateway device 700(such as gateway device 230, described herein). The gateway device 700may include a control circuit 702 for controlling the functionality ofthe gateway device 700. The control circuit 702 may include one or moregeneral purpose processors, special purpose processors, conventionalprocessors, digital signal processors (DSPs), microprocessors,integrated circuits, a programmable logic device (PLD), applicationspecific integrated circuits (ASICs), and/or the like. The controlcircuit 702 may perform signal coding, data processing, power control,input/output processing, and/or any other functionality that enables thegateway device 700 to perform as described herein. The control circuit702 may store information in and/or retrieve information from the memory704. The memory 704 may include a non-removable memory and/or aremovable memory. The non-removable memory may include random-accessmemory (RAM), read-only memory (ROM), a hard disk, and/or any other typeof non-removable memory storage. The removable memory may include asubscriber identity module (SIM) card, a memory stick, a memory card,and/or any other type of removable memory.

The gateway device 700 may include a communications circuit 706 fortransmitting and/or receiving information. The communications circuit706 may perform wireless and/or wired communications. The gateway device700 may also, or alternatively, include a communications circuit 708 fortransmitting and/or receiving information. The communications circuit706 may perform wireless and/or wired communications. Communicationscircuits 706 and 708 may be in communication with control circuit 702.The communications circuits 706 and 708 may include RF transceivers orother communications modules capable of performing wirelesscommunications. The communications circuit 706 and communicationscircuit 708 may be capable of performing communications via the samecommunication channels or different communication channels. For example,the communications circuit 706 may be capable of communicating (e.g.,with a programming device, over a network, etc.) via a wirelesscommunication channel (e.g., BLUETOOTH®, near field communication (NFC),WIFI®, WI-MAX®, cellular, etc.) and the communications circuit 708 maybe capable of communicating (e.g., with control devices and/or otherdevices in the load control system) via another wireless communicationchannel (e.g., WI-FI® or a proprietary communication channel, such asCLEAR CONNECT™).

The control circuit 702 may be in communication with an LED indicator712 for providing indications to a user. The control circuit 702 may bein communication with an actuator 714 (e.g., one or more buttons) thatmay be actuated by a user to communicate user selections to the controlcircuit 702. For example, the actuator 714 may be actuated to put thecontrol circuit 702 in an association mode and/or communicateassociation messages from the gateway device 700.

Each of the modules within the gateway device 700 may be powered by apower source 710. The power source 710 may include an AC power supply orDC power supply, for example. The power source 710 may generate a supplyvoltage V_(CC) for powering the modules within the gateway device 700.

FIG. 8 is a block diagram illustrating an example control-target device,e.g., a load control device 800, as described herein. The load controldevice 800 may be controllable light source or another load controldevice. The load control device 800 may include a communications circuit802. The communications circuit 802 may include a receiver, an RFtransceiver, or other communications module capable of performing wiredand/or wireless communications via communications link 810. Thecommunications circuit 802 may be in communication with control circuit804. The control circuit 804 may include one or more general purposeprocessors, special purpose processors, conventional processors, digitalsignal processors (DSPs), microprocessors, integrated circuits, aprogrammable logic device (PLD), application specific integratedcircuits (ASICs), and/or the like. The control circuit 804 may performsignal coding, data processing, power control, input/output processing,and/or any other functionality that enables the load control device 800to perform as described herein.

The control circuit 804 may store information in and/or retrieveinformation from the memory 806. For example, the memory 806 maymaintain a registry of associated control devices and/or controlconfiguration instructions. The memory 806 may include a non-removablememory and/or a removable memory. The load control circuit 808 mayreceive instructions from the control circuit 804 and may control theelectrical load 816 based on the received instructions. The load controlcircuit 808 may send status feedback to the control circuit 804regarding the status of the electrical load 816. The load controlcircuit 808 may receive power via the hot connection 812 and the neutralconnection 814 and may provide an amount of power to the electrical load816. The electrical load 816 may include any type of electrical load.

The control circuit 804 may be in communication with an actuator 818(e.g., one or more buttons) that may be actuated by a user tocommunicate user selections to the control circuit 804. For example, theactuator 818 may be actuated to put the control circuit 804 in anassociation mode and/or communicate association messages from the loadcontrol device 800.

FIG. 9 is a block diagram illustrating an example control-source device900 as described herein. The control-source device 900 may be a remotecontrol device, an occupancy sensor, a daylight sensor, a window sensor,a temperature sensor, and/or the like. The control-source device 900 mayinclude a control circuit 902 for controlling the functionality of thecontrol-source device 900. The control circuit 902 may include one ormore general purpose processors, special purpose processors,conventional processors, digital signal processors (DSPs),microprocessors, integrated circuits, a programmable logic device (PLD),application specific integrated circuits (ASICs), and/or the like. Thecontrol circuit 902 may perform signal coding, data processing, powercontrol, input/output processing, and/or any other functionality thatenables the control-source device 900 to perform as described herein.

The control circuit 902 may be in communication with an actuator 914(e.g., one or more buttons) that may be actuated by a user tocommunicate user selections to the control circuit 902. For example, theactuator 914 may be actuated to put the control circuit 902 in anassociation mode and/or communicate association messages from thecontrol-source device 900. The actuator 914 may be actuated tocommunicate control instructions. The control circuit 902 may storeinformation in and/or retrieve information from the memory 904. Thememory 904 may include a non-removable memory and/or a removable memory,as described herein.

The control-source device 900 may include a communications circuit 908for transmitting and/or receiving information. The communicationscircuit 908 may transmit and/or receive information via wired and/orwireless communications. The communications circuit 908 may include atransmitter, an RF transceiver, or other circuit capable of performingwired and/or wireless communications. The communications circuit 908 maybe in communication with control circuit 902 for transmitting and/orreceiving information.

The control circuit 902 may also be in communication with an inputcircuit 906. The input circuit 906 may include an actuator (e.g., one ormore buttons) or a sensor circuit (e.g., an occupancy sensor circuit, adaylight sensor circuit, or a temperature sensor circuit) for receivinginput that may be sent to a device for controlling an electrical load.For example, the control-source device may receive input from the inputcircuit 906 to put the control circuit 902 in an association mode and/orcommunicate association messages from the control-source device. Thecontrol circuit 902 may receive information from the input circuit 906(e.g., an indication that a button has been actuated or sensedinformation). Each of the modules within the control-source device 900may be powered by a power source 910.

Although features and elements are described herein in particularcombinations, each feature or element can be used alone or in anycombination with the other features and elements. The methods describedherein may be implemented in a computer program, software, or firmwareincorporated in a computer-readable medium for execution by a computeror processor. Examples of computer-readable media include electronicsignals (transmitted over wired or wireless connections) andcomputer-readable storage media. Examples of computer-readable storagemedia include, but are not limited to, a read only memory (ROM), arandom access memory (RAM), removable disks, and optical media such asCD-ROM disks, and digital versatile disks (DVDs).

What is claimed is:
 1. An electrical load control gateway device,comprising: memory circuitry; gateway control circuitry communicativelycoupled to the memory circuitry, the gateway control circuitry to:receive an input placing the gateway device in an association mode;receive, via a first communication network, an input signal from aremote-control device that includes information indicative of a useractuation of at least one actuator operatively coupled to theremote-control device; receive, via a second communication network, anassociation instruction from a programming device the associationinstruction to associate the remote-control device with at least onecontrol device communicatively coupled to the first communicationnetwork; determine a group number to associate with the remote-controldevice; store data representative of the determined group number toassociate with the remote-control device in the memory circuitry;communicate the data representative of the selected group number for theremote-control device to the at least one control device; receive, viathe first communication network, a command signal from theremote-control device that includes information indicative of a seconduser actuation of the at least one actuator; and responsive to receiptof the second user actuation of the at least one actuator, communicatethe determined group number to the remote-control device.
 2. The gatewaydevice of claim 1 wherein to receive the input placing the gatewaydevice in the association mode, the gateway control circuitry to:receive an input signal from a programming device via the secondcommunication network.
 3. The gateway device of claim 1 wherein toreceive the input placing the gateway device in the association mode,the gateway control circuitry to: receive an input signal indicative ofan actuation of a manual actuator operatively coupled to the gatewaydevice.
 4. The gateway device of claim 1 wherein to determine the groupnumber to associate with the remote-control device, the gateway controlcircuitry to further: determine whether an existing group numberincludes the at least one control device; and responsive to thedetermination that an existing group number includes in the at least onecontrol device, associate the existing group number with theremote-control device.
 5. The gateway device of claim 4 wherein toreceive, via a second communication network, the association instructionfrom a programming device, the association instruction including acommand to associate the remote-control device with at least one controldevice communicatively coupled to the first communication network, thegateway control circuitry to; receive, via a second communicationnetwork, the association instruction from a programming device, theassociation instruction including a command to associate theremote-control device with at least one of: a control-source devicecommunicatively coupled to the first communication network or acontrol-target device communicatively coupled to the first communicationnetwork.
 6. The gateway device of claim 1 wherein to receive, via thefirst communication network, the input signal from the remote-controldevice that includes information indicative of the user actuation of theat least one actuator operatively coupled to the remote-control device,the gateway control circuitry to: receive, via a first radio-frequencynetwork using a first communication protocol, the input signal from theremote-control device that includes information indicative of the useractuation of the at least one actuator operatively coupled to theremote-control device.
 7. The gateway device of claim 6 wherein toreceive, via the second communication network, the associationinstruction from the programming device, the association instruction toassociate the remote-control device with the at least one control devicecommunicatively coupled to the first communication network, the gatewaycontrol circuitry to: receive, via a second radio-frequency networkusing a second communication protocol different from the firstcommunication protocol, the association instruction from the programmingdevice, the association instruction to associate the remote-controldevice with the at least one control device communicatively coupled tothe first communication network.
 8. A method of configuring anelectrical load control remote-control device using gateway controlcircuitry communicatively coupled to a first communication network thatincludes one or more control devices, the method comprising: receiving,by the gateway control circuitry, an input placing the gateway device inan association mode; receiving, by the gateway control circuitry via thefirst communication network, an input signal from a remote-controldevice that includes information indicative of a user actuation of atleast one actuator operatively coupled to the remote-control device;receiving, by the gateway control circuitry via a second communicationnetwork, an association instruction from a programming device theassociation instruction to associate the remote-control device with atleast one control device communicatively coupled to the firstcommunication network; determining, by the gateway control circuitry, agroup number to associate with the remote-control device; storing, bythe gateway control circuitry in communicatively coupled memorycircuitry, data representative of the determined group number toassociate with the remote-control device; causing, by the gatewaycontrol circuitry, a communication of the data representative of theselected group number for the remote-control device to the at least onecontrol device; receiving, by the gateway control circuitry via thefirst communication network, a command signal from the remote-controldevice that includes information indicative of a second user actuationof the at least one actuator; and causing a communication of thedetermined group number to the remote-control device responsive toreceipt of the second user actuation of the at least one actuator,causing, by the gateway control circuitry.
 9. The method of claim 8wherein receiving the input placing the gateway device in theassociation mode further comprises: receiving, by the gateway controlcircuitry, an input signal from a programming device via the secondcommunication network.
 10. The method of claim 8 wherein receiving theinput placing the gateway device in the association mode furthercomprises: receiving, by the gateway control circuitry, an input signalindicative of an actuation of a manual actuator operatively coupled tothe gateway device.
 11. The method of claim 8 wherein determining thegroup number to associate with the remote-control device, furthercomprises: determining, by the gateway control circuitry, whether anexisting group number includes the at least one control device; andassociating, by the gateway control circuitry, the existing group numberwith the remote-control device responsive to the determination that anexisting group number includes in the at least one control device. 12.The method of claim 11 wherein receiving, via a second communicationnetwork, the association instruction from a programming device, theassociation instruction including a command to associate theremote-control device with at least one control device communicativelycoupled to the first communication network, further comprises:receiving, by the gateway control circuitry via a second communicationnetwork, the association instruction from a programming device, theassociation instruction including a command to associate theremote-control device with at least one of: a control-source devicecommunicatively coupled to the first communication network or acontrol-target device communicatively coupled to the first communicationnetwork.
 13. The method of claim 8 wherein receiving, via the firstcommunication network, the input signal from the remote-control devicethat includes information indicative of the user actuation of the atleast one actuator operatively coupled to the remote-control device,further comprises: receiving, by the gateway control circuitry via afirst radio-frequency network using a first communication protocol, theinput signal from the remote-control device that includes informationindicative of the user actuation of the at least one actuatoroperatively coupled to the remote-control device.
 14. The method ofclaim 13 wherein receiving, via the second communication network, theassociation instruction from the programming device, the associationinstruction to associate the remote-control device with the at least onecontrol device communicatively coupled to the first communicationnetwork, further comprises: receiving, by the gateway control circuitryvia a second radio-frequency network using a second communicationprotocol different from the first communication protocol, theassociation instruction from the programming device, the associationinstruction to associate the remote-control device with the at least onecontrol device communicatively coupled to the first communicationnetwork.
 15. A non-transitory, machine-readable, storage device thatincludes instructions that, when executed by gateway control circuitrydisposed in a gateway device communicatively coupled to one or morecontrol devices via a first communication network, causes the gatewaycontrol circuitry to: receive an input placing the gateway device in anassociation mode; receive via the first communication network, an inputsignal from a remote-control device that includes information indicativeof a user actuation of at least one actuator operatively coupled to theremote-control device; receive, via a second communication network, anassociation instruction from a programming device the associationinstruction to associate the remote-control device with at least onecontrol device communicatively coupled to the first communicationnetwork; determine a group number to associate with the remote-controldevice; store, in communicatively coupled memory circuitry, datarepresentative of the determined group number to associate with theremote-control device; cause a communication of the data representativeof the selected group number for the remote-control device to the atleast one control device; receive, via the first communication network,a command signal from the remote-control device that includesinformation indicative of a second user actuation of the at least oneactuator; and cause a communication of the determined group number tothe remote-control device responsive to receipt of the second useractuation of the at least one actuator, causing, by the gateway controlcircuitry.
 16. The non-transitory, machine-readable, storage device ofclaim 15 wherein the instructions that cause the gateway controlcircuitry to receive the input placing the gateway device in theassociation mode further cause the control circuitry to: receive aninput signal from a programming device via the second communicationnetwork.
 17. The non-transitory, machine-readable, storage device ofclaim 15 wherein the instructions that cause the gateway controlcircuitry to receive the input placing the gateway device in theassociation mode further cause the gateway control circuitry to: receivean input signal indicative of an actuation of a manual actuatoroperatively coupled to the gateway device.
 18. The non-transitory,machine-readable, storage device of claim 15 wherein the instructionsthat cause the gateway control circuitry to determine the group numberto associate with the remote-control device, further cause the gatewaycontrol circuitry to: determine whether an existing group numberincludes the at least one control device; and associate the existinggroup number with the remote-control device responsive to thedetermination that an existing group number includes in the at least onecontrol device.
 19. The non-transitory, machine-readable, storage deviceof claim 18 wherein the instructions that cause the gateway controlcircuitry to receive, via a second communication network, theassociation instruction from a programming device, the associationinstruction including a command to associate the remote-control devicewith at least one control device communicatively coupled to the firstcommunication network, further cause the gateway control circuitry to:receive, via a second communication network, the association instructionfrom a programming device, the association instruction including acommand to associate the remote-control device with at least one of: acontrol-source device communicatively coupled to the first communicationnetwork or a control-target device communicatively coupled to the firstcommunication network.
 20. The non-transitory, machine-readable, storagedevice of claim 15 wherein the instructions that cause the gatewaycontrol circuitry to receive, via the first communication network, theinput signal from the remote-control device that includes informationindicative of the user actuation of the at least one actuatoroperatively coupled to the remote-control device, further cause thegateway control circuitry to: receive, via a first radio-frequencynetwork using a first communication protocol, the input signal from theremote-control device that includes information indicative of the useractuation of the at least one actuator operatively coupled to theremote-control device.
 21. The non-transitory, machine-readable, storagedevice of claim 20 wherein the instructions that cause the gatewaycontrol circuitry to receive, via the second communication network, theassociation instruction from the programming device, the associationinstruction to associate the remote-control device with the at least onecontrol device communicatively coupled to the first communicationnetwork, further cause the gateway control circuitry to: receive, via asecond radio-frequency network using a second communication protocoldifferent from the first communication protocol, the associationinstruction from the programming device, the association instruction toassociate the remote-control device with the at least one control devicecommunicatively coupled to the first communication network.